package cn.tedu.tw.whr;

import org.apache.commons.lang3.RandomStringUtils;

public class AppWuHaoran {
    public static void main (String[] args){
        String s = RandomStringUtils.randomAlphabetic(6);
//        RandomStringUtils.randomAlphanumeric(6);
//        RandomStringUtils.randomNumeric(6);
        System.out.println(s);




    }

    public static class AppWangYuying {
        public static void main(String[] args){
            String a = RandomStringUtils.randomAlphanumeric(7);//随机生成7个字母和数字
            String b = RandomStringUtils.randomAlphabetic(8);//随机生成8个字母
            String c = RandomStringUtils.randomNumeric(7);//随机生产7个数字

            System.out.println(a);
            System.out.println(b);
            System.out.println(c);
        }
    }
}
